﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AcSDK.Domain
{
    /// <summary>
    /// 产品码关联关系
    /// </summary>
    [Serializable]
    public partial class AT_PackCodeRelation : AT_OnroadProdEx
    {
        public AT_PackCodeRelation()
        { }
        #region Model
        private long _id = 0;
        private long _companyid = 0;
        private DateTime _createtime = DateTime.Now;
        private long _createby = 0;
        private DateTime _updatetime = DateTime.Now;
        private long _updateby = 0;
        private long _skuid = 0;
        private long _productid = 0;
        private string _packcode = "";
        private string _parentcode = "";
        private long _batchnoid = 0;
        private DateTime _importtime = DateTime.Now;
        private int _level = 0;
        private int _status = 0;
        private string _packrule;
        private string _packspec;
        private long? _checkreportid;
        private string _checkuser;
        /// <summary>
        /// 
        /// </summary>
        public long Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long CompanyId
        {
            set { _companyid = value; }
            get { return _companyid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long CreateBy
        {
            set { _createby = value; }
            get { return _createby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime UpdateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long UpdateBy
        {
            set { _updateby = value; }
            get { return _updateby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long SkuId
        {
            set { _skuid = value; }
            get { return _skuid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long ProductId
        {
            set { _productid = value; }
            get { return _productid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PackCode
        {
            set { _packcode = value; }
            get { return _packcode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ParentCode
        {
            set { _parentcode = value; }
            get { return _parentcode; }
        }
        /// <summary>
        /// 生产批次Id
        /// </summary>
        public long BatchNoId
        {
            set { _batchnoid = value; }
            get { return _batchnoid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime ImportTime
        {
            set { _importtime = value; }
            get { return _importtime; }
        }
        /// <summary>
        /// 级数
        /// </summary>
        public int Level
        {
            set { _level = value; }
            get { return _level; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PackRule
        {
            set { _packrule = value; }
            get { return _packrule; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PackSpec
        {
            set { _packspec = value; }
            get { return _packspec; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long? CheckReportId
        {
            set { _checkreportid = value; }
            get { return _checkreportid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CheckUser
        {
            set { _checkuser = value; }
            get { return _checkuser; }
        }
        #endregion Model

    }
}
